package com.snoweagler.service;

import com.snoweagler.VO.PageVO;
import com.snoweagler.params.UserParams;
import com.snoweagler.pojo.Role;
import com.snoweagler.pojo.User;

import java.util.List;

public interface UserService {

    PageVO<User> getUserList(UserParams params);

    void edit(User user);

    List<Role> getOptions();

    List<User> findAllUsers();

    User findOneByUserName(String username);
}
